<%--
  Created by IntelliJ IDEA.
  User: abcc
  Date: 2019/10/8
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<!-- 粉丝 -->
<%--<div id="foc2" style="display:none;">--%>
    <c:forEach items="${requestScope.fansInfo}" var="fans" varStatus="loop">
        <div>
            <div style="float: left;">
                <img src="${fans.picfilename}" class="gimg">
            </div>

            <div style="margin-left: 72px;margin-top: 12px;">
                <a href="${path}/info/personal/${fans.id}" class="gimga">${fans.uName}</a>
                <!-- 按钮 -->
                <p style="float: right;margin-top: 5px;margin-right: 5px;">
                    <c:if test="${isBoth[loop.count-1] eq false}">
                        <button id="${fans.id}" type="button" class="btn btn-default btn-sm" onclick="addFocu(${fans.id},${sessionScope.user.id})">+&nbsp;关注</button>
                    </c:if>
                    <c:if test="${isBoth[loop.count-1] eq true}">
                        <button type="button" class="btn btn-default btn-sm" disabled="disabled">互相关注</button>
                    </c:if>
                </p>
            </div>
            <div style="margin-left: 72px">
                <span style="color: #666666">简介:</span>
                <p class="wt">${fans.uStatement}</p>
            </div>

            <hr class="hrLine" style="width:100%;" />
        </div>
    </c:forEach>

    <%@include file="../sharedper/fansPage.jsp"%>

<%--</div>--%>
</body>
</html>
